/*
 * @Author: wwxin
 * @Date: 2024-04-09 13:48:54
 * @LastEditors: wwxin
 * @LastEditTime: 2024-04-11 10:50:55
 * @FilePath: /admin/src/router/page/index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import Layout from "@/page/index/";

export default [
  {
    path: "/registered",
    name: "注册页",
    component: () =>
      import(/* webpackChunkName: "page" */ "@/page/registered/index"),
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false,
    },
  },
  {
    path: "/regAudit",
    name: "注册审核页",
    component: () =>
      import(/* webpackChunkName: "page" */ "@/page/registered/regAudit"),
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false,
    },
  },
  {
    path: "/login",
    name: "登录页",
    component: () =>
      import(/* webpackChunkName: "page" */ "@/page/login/index"),
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false,
    },
  },
  {
    path: "/downloadFilie",
    name: "文件下载页",
    component: () =>
      import(/* webpackChunkName: "page" */ "@/page/index/downloadFilie"),
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false,
    },
  },
  {
    path: "/lock",
    name: "锁屏页",
    component: () => import(/* webpackChunkName: "page" */ "@/page/lock/index"),
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false,
    },
  },
  {
    path: "/404",
    component: () =>
      import(/* webpackChunkName: "page" */ "@/components/error-page/404"),
    name: "404",
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false,
    },
  },
  {
    path: "/403",
    component: () =>
      import(/* webpackChunkName: "page" */ "@/components/error-page/403"),
    name: "403",
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false,
    },
  },
  {
    path: "/500",
    component: () =>
      import(/* webpackChunkName: "page" */ "@/components/error-page/500"),
    name: "500",
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false,
    },
  },
  {
    path: "/",
    name: "主页",
    redirect: "/wel",
  },

  {
    path: "/listTestView",
    component: () => import("@/views/test"),
    name: "listTestView",
    meta: {
      keepAlive: true,
      isTab: false,
      isAuth: false,
    },
  },

  {
    path: "/myiframe",
    component: Layout,
    redirect: "/myiframe",
    children: [
      {
        path: ":routerPath",
        name: "iframe",
        component: () =>
          import(/* webpackChunkName: "page" */ "@/components/iframe/main"),
        props: true,
      },
    ],
  },
  {
    path: "*",
    redirect: "/404",
  },
];
